//
//  VCOfDetails.h
//  17-HomeWork(通讯录)
//
//  Created by ParkourH on 16/8/6.
//  Copyright © 2016年 ParkourH. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Contact.h"

@protocol SaveContentDelegate <NSObject>

- (void)save:(Contact *)contact;

@end

@interface VCOfDetails : UIViewController
@property (weak, nonatomic) IBOutlet UIImageView *imageOfContact;

@property (weak, nonatomic) IBOutlet UILabel *nameOfContact;
@property (weak, nonatomic) IBOutlet UITextField *ageOfContact;
@property (weak, nonatomic) IBOutlet UITextField *sexOfContact;
@property (weak, nonatomic) IBOutlet UITextField *phoneNumberOfContact;

@property (nonatomic, strong) Contact *contact;

@property (nonatomic, strong) id <SaveContentDelegate> delegate;

@end
